#include "Heap.h"

int main()
{
	int a[] = { 1,2,3,4,5,6,7,8,9 };
	Heap hp;
	HeapInit(&hp);
	HeapCreate(&hp, a, sizeof(a) / sizeof(a[0]));
	HeapPrint(&hp);
	HeapPush(&hp, 0);
	HeapPrint(&hp);
	HeapPush(&hp, 10);
	HeapPrint(&hp);
	HeapPush(&hp, -1);
	HeapPrint(&hp);
	HeapPop(&hp);
	HeapPrint(&hp);
	HeapSort(&hp);
	HeapPrint(&hp);
	return 0;
}